Northwoods.GoSilverlight 1.3.5 Assembly
GetLinksBetweenNodes Method
See Also  Send Feedback
Northwoods.GoXam.Model Namespace > GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Class : GetLinksBetweenNodes Method

fromdata
a node key identifying the node data from which the link comes
fromparam
an optional value identifying which port on the "from" node the link is connected to
todata
a node key identify the node data to which the link goes
toparam
an optional value identifying which port on the "to" node the link is connected to
Return a sequence of all link data that go from one node to another, possibly restricted to certain "ports".

Syntax

Visual Basic (Declaration) 
Public Function GetLinksBetweenNodes( _
   ByVal fromdata As NodeType, _
   ByVal fromparam As PortKey, _
   ByVal todata As NodeType, _
   ByVal toparam As PortKey _
) As IEnumerable(Of LinkType)
C# 
public IEnumerable<LinkType> GetLinksBetweenNodes( 
   NodeType fromdata,
   PortKey fromparam,
   NodeType todata,
   PortKey toparam
)

Parameters

fromdata
a node key identifying the node data from which the link comes
fromparam
an optional value identifying which port on the "from" node the link is connected to
todata
a node key identify the node data to which the link goes
toparam
an optional value identifying which port on the "to" node the link is connected to

Return Value

an IEnumerable

Remarks

This is used for model navigation and graph traversal.

Requirements

See Also

© 2012 All Rights Reserved.